#include <string>
#include <ctime>


#pragma warning( disable : 4996 )

std::string getCurrentYMD(char delimeter='-');
std::string getNextYMD(char delimeter='-');
tm string2Tm(std::string sTime);
long getTimeGapToNow(std::string sTime);
std::string secondsToDHMS(long lSeconds = 0);
std::string tm2String(tm& tTime);
int isTimeInGap(std::string sTime1, std::string sTime2, std::string sTime = "");
std::string time2String(time_t tTime);

int const SECONDS_PER_MININUTE = 60;
int const SECONDS_PER_HOUR = (SECONDS_PER_MININUTE * 60);
int const SECONDS_PER_DAY = (SECONDS_PER_HOUR* 24);


